import request from '@/utils/request'

// 查询产品库存列表
export function listBizProductInventory (query) {
  return request({
    url: '/biz/bizProductInventory/list',
    method: 'get',
    params: query
  })
}

// 修改库存
export function updateBizProductInventory (data) {
  return request({
    url: '/biz/bizProductInventory',
    method: 'put',
    data: data
  })
}

// 查询产品库存列表
export function listBizProductInventoryDetail (query) {
  return request({
    url: '/biz/bizProductInventory/detailList',
    method: 'get',
    params: query
  })
}
